package com.shuwen.gcdj.mapper.mysql;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuwen.gcdj.bean.equipmentMaintenance.request.EquipmentMaintainReportReq;
import com.shuwen.gcdj.entity.StrategyPlandetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author :yys
 * @date : 2023/5/15 10:32
 */
@Mapper
public interface PlanDetailMapper extends BaseMapper<StrategyPlandetail> {

    List<StrategyPlandetail> getStatistic(@Param("req") EquipmentMaintainReportReq req, @Param("equipmentId") List<String> equipmentId);

    Integer insertBatch(@Param("list") List<StrategyPlandetail> list);

    Integer updateIsdeleteBatchByIds(@Param("ids") List<String> ids);
}
